package meterMonitor.mapper;

import meterMonitor.model.Reader;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReaderMapper {
    List<Reader> query(Reader reader);

    void delete(Reader reader);

    void update(Reader reader);

    void add(Reader reader);

    Reader queryByReaderCode(@Param("readerCode") String readerCode);
}
